/**
 * Jaxson ajax
 *
 * Copyright Remedy Interactive, licensed under Apache version 2 license:
 *
 *  http://www.apache.org/licenses/LICENSE-2.0.html
 *
 * This notice must remain in all java source files.
 */
package org.jaxson.struts.logging;


import java.io.Serializable;
import java.util.List;

import flexjson.JSON;

/**
 * Encapsulation of a batch of javascrpt log events posted back to the server.
 * 
 * @author Joe Maisel
 */
public class ClientLogBatch implements Serializable
{
	private List<JavascriptLogEntry> entries;

	/**
	 * @return the entries
	 */
	@JSON
	public List<JavascriptLogEntry> getEntries()
	{
		return entries;
	}

	/**
	 * @param entries
	 *            the entries to set
	 */
	public void setEntries( List<JavascriptLogEntry> entries )
	{
		this.entries = entries;
	}

	private static final long serialVersionUID = 1234563357684562546L;
}
